require.config({
	 paths: {
			 "jquery": "./quote_js/jquery.min",
			 "bootstrap":"./quote_js/bootstrap.min",
			 "datatables.net":"./quote_js/jquery.dataTables.min",
			 "bsdataTables":"./quote_js/dataTables.bootstrap.min",
			 "adminlte":"./quote_js/adminlte.min",
				 "uploader":"./quote_js/uploader",
				 "hotkeys":"./quote_js/hotkeys",
				 "simditor":"./quote_js/simditor",
				 "webuploader":"./quote_js/webuploader",
				 "simple-module":"./quote_js/module",
				 "handlebars":"./quote_js/handlebars-v4.0.11",
				 "webuploader_product":"./quote_js/webuploader_product",
			 },
	 shim:{
			 'bootstrap':['jquery'],
			 'bsdataTables':['bootstrap'],
			 'fnReloadAjax':['jquery', 'datatables.net'],
			 'adminlte':['bootstrap']
	    }
 });
 require(['common','product_save','simditor','webuploader','webuploader_product','hotkeys','uploader','module','handlebars'],
 function(common,product_save,simditor,webuploader,webuploader_product,hotkeys,uploader,module,handlebars){	
	$(function(){
		//用户校验
		common.userCalibration();
		//获取产品类型参数和商品信息
	product_save.getParams();
	//为产品下拉绑定事件
	product_save.dropDownEvent();
	//保存商品信息
	product_save.saveBtn();

	});
}
);